package learningThread.syn.synchronizedMethodLockObj.communicate.producerAndConsumer;

public class Producer extends Thread{

    private Container container;

    public Producer(Container container){
        this.container = container;
    }

    @Override
    public void run() {
        container.add(1);
    }
}
